package wt.entity.expertInfo;

import org.springframework.format.annotation.DateTimeFormat;
import wt.auto.entity._ExpertBase;

import java.util.Date;

public class ExpertBase extends _ExpertBase implements BaseExpertInfo {

    @Override
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    public void setBirthday(Date startTime) {
        super.setBirthday(startTime);
    }

    private ExpertBase expertBase;

    public ExpertBase getExpertBase() {
        return expertBase;
    }

    public void setExpertBase(ExpertBase expertBase) {
        this.expertBase = expertBase;
    }

    @Deprecated
    public String getExpertId() {
        return getId();
    }
    @Deprecated
    public void setExpertId(String expertId) {
        setId(expertId);
    }
}